import LayOut from '@/layout/LayOut.vue';
export default {
    path: '/admin',
    component: LayOut,
    // 二级路由
    children: [{
        path: '/',
        redirect: '/admin/welcome'
    }, {
        path: 'welcome',
        component: () =>
            import ('@/layout/WelcomePage.vue')
    }, {
        path: 'user/list',
        component: () =>
            import ('@/views/UserPage/UserList/UserList.vue')
    }, {
        path: 'user/level',
        component: () =>
            import ('@/views/UserPage/UserLevel/UserLevel.vue')
    }, {
        path: 'user/add',
        component: () =>
            import ('@/views/UserPage/UserAdd/UserAdd.vue')
    }]
};